package cn.shop.transcation.backRate.entity;

import cn.shop.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 总后台 费率表(BackRate)表实体类
 *
 * @author 痴
 * @since 2022-05-12 14:19:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class BackRate extends BaseEntity {

	private static final long serialVersionUID = -1301674029380398514L;

	/**
	 * 单笔扣费
	 */
	private BigDecimal chargeSingle;

	/**
	 * 提现手续费
	 */
	private BigDecimal chargeRate;

	/**
	 * 1 : 商户 0 :玩家
	 */
	private Boolean singleType;

	/**
	 * 1 : 商户 0 :玩家
	 */
	private Boolean rateType;

	/**
	 * 金额浮动 0 - n
	 */
	private BigDecimal rateFloat;

	/**
	 * 单笔浮动 0 - n
	 */
	private BigDecimal singleFloat;

	/**
	 * 模板浮动 0 - n
	 */
	private BigDecimal templateFloat;

	/**
	 * A: 货币 B:物品 C:角色
	 */
	private String type;

}

